package cn.demo.controller;

public class Text {

    public String sayHello(String name) {
        return "sorry " + name + " 上游服务断开, 服务降级";
    }

    public String timeOut() throws InterruptedException {
        return "链接超时，服务降级";
    }

    public String exception() throws Exception {
        return "发生异常，服务降级";
    }

}
